<?php
require_once '../ptnhuan-web1/data/lyrics.php';


$str = explode("\r", $lyrics);
for($i=0;$i<count($str);$i++)
{
    if ($str[$i] == "\n") {
        $str[$i] = "\r";
        $flag = true;
        $count = $i;
        while ($flag == true) {
            $count++;
            if ($str[$count] == "\n") {
                $flag = true;
                $str[$count]="";
            } else {
                $flag = false;
            }
        }
    }
    if($str[$i]!="")
    {
       echo ucwords($str[$i]."<br>");
    }
}

